package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 
 * @TableName tb_specification
 */
@TableName(value ="tb_specification")
@Data
public class Specification implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 名称
     */
    private String specName;

    @TableField(exist = false)
    private List<SpecificationOption> specificationOptionList;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}